package admin

import "new_club_recruitment/global"

type SysAdmin struct {
	global.GVA_MODEL
	AdminName  string `json:"admin_name" form:"admin_name" binding:"required"`
	Email      string `json:"email" form:"email" binding:"required,email"`
	Phone      string `json:"phone" form:"phone" binding:"required,max=11"`
	Password   string `json:"password" form:"password"`
	Permission string `json:"permission" form:"permission" binding:"required,oneof=1 2"`
	Token      string `json:"token" form:"token"`
}
